package cz.proks.easyhelpdesk.gwt.restapi;

import com.google.gwt.json.client.JSONValue;

import cz.proks.easyhelpdesk.gwt.utils.RestUtils;

public abstract class RestIdCallback extends RestUtils.Callback implements IdCallback {
    @Override
    @Deprecated
    public void onSuccess(JSONValue val) {
        throw new UnsupportedOperationException("Method onSuccess(JSONValue val) is deprecated. Use onIdSuccess(Id) method!");
    }
}